//
//  RSSItemViewCell.m
//  vnex
//
//  Created by sieg on 8/27/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "RSSItemViewCell.h"


@implementation RSSItemViewCell

@synthesize cellImage;
@synthesize cellTitle;
@synthesize cellContent;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code.
    }
	
    return self;
}

- (void)layoutSubviews {  
	
    CGRect newCellSubViewsFrame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
    CGRect newCellViewFrame = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.frame.size.width, self.frame.size.height);
	
    self.contentView.frame = self.contentView.bounds = self.backgroundView.frame = self.accessoryView.frame = newCellSubViewsFrame;
    self.frame = newCellViewFrame;
	
    [super layoutSubviews];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state.
}

- (void)dealloc {
	[cellImage release];
	[cellTitle release];
	[cellContent release];
    [super dealloc];
}

@end
